package cn.goktech.pojo;

import java.util.List;
import java.util.Map;
import java.util.Set;

public class Student {
    private Integer id;
    private String name;
    private String address;
    private List<String> hobby;
    private Set<String> gf;
    private Map<String,Score> scores;

    public Map<String, Score> getScores() {
        return scores;
    }

    public void setScores(Map<String, Score> scores) {
        this.scores = scores;
    }

    public Set<String> getGf() {
        return gf;
    }

    public void setGf(Set<String> gf) {
        this.gf = gf;
    }

    public Student() {
        System.out.println("无参构造");
    }

    public Student(Integer id, String name, String address, List<String> hobby, Set<String> gf, Map<String, Score> scores) {
        this.id = id;
        this.name = name;
        this.address = address;
        this.hobby = hobby;
        this.gf = gf;
        this.scores = scores;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public List<String> getHobby() {
        return hobby;
    }

    public void setHobby(List<String> hobby) {
        this.hobby = hobby;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", address='" + address + '\'' +
                ", hobby=" + hobby +
                ", gf=" + gf +
                ", scores=" + scores +
                '}';
    }
}
